package com.example.flow.dao;

import com.example.flow.dao.model.FlowTask;

/**
 * @author tangaq
 * 2023/6/15
 */
public interface FlowTaskDao {
    FlowTask findByTaskId(String taskId);

    void deleteTask(String taskId);

    FlowTask findByOrderId(String orderId);

    void deleteByOrderId(String orderId);

    void insert(FlowTask task);
}
